div.progressbar { position: absolute; height: 20px; width: 400px; border: 1px solid black; overflow: hidden; } 
div.progressbar div { position: relative; background-color: #cc0000;  width: 100%; height:100% }
div.progressbar div div { position: relative; background-color: #00ff00; width: 0%; height: 100%; }
div.progressbar span { position: absolute; font-weight: bold; color: white; top: 0px;  width: 100%; text-align: center; }
